package practice07;

public class Student extends Person{
    protected Klass klass;

    public Student(String name, int age, Klass klass) {
        super(name,age);
        this.klass = klass;
    }
    public Object getKlass(){
        return klass;
    }

    public String introduce(){
        return super.introduce()+ String.format(" I am a Student. I am at Class %d.",this.klass.getNumber() );
    }



}
